﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Data.Models.Enums;

namespace Project_Schedule.Models
{
    class Adress
    {
        public int Id { get; set; }
        public int? IdPracownika { get; set; }
        public AdressType Typ { get; set; }
        public string Ulica { get; set; }
        public string Dom { get; set; }
        public string Mieszkanie { get; set; }
        public string Miejscowość { get; set; }
        public string Kraj { get; set; }
    }

    public class AdressDto
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Surname { get; set; }
             

        public override string ToString()
        {
            return string.Format("{0} - {1} {2}", Id, Name, Surname);
        }
    }
}
